package com.treasure.mall.biz.service.core.statistics;

import com.treasure.mall.biz.base.SearchableCrudService;
import com.treasure.mall.biz.entity.statistics.DealAmountStatisticsPO;
import org.springframework.data.domain.Page;

import java.time.LocalDate;
import java.util.List;

/**
 * @author allan
 * @version 1.0.0
 * @date 2020/10/9
 */
public interface DealAmountStatisticsService extends SearchableCrudService<DealAmountStatisticsPO, Long> {
    void statistics(LocalDate date);

    List<DealAmountStatisticsPO> sevenDays();

    Page<DealAmountStatisticsPO> findAll(int pageIndex, int pageSize, String begin, String end);
}
